import request from '../utils/request'
// 抽取登录API
const userlogin = ({ mobile, code }) => {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data: { mobile, code }
  })
}

// 暴露抽取的方法
export { userlogin }
